<html>
  <head>
    <?php
      include('./varsandfunctions.php');
    ?>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="ciui/CiUI.css" />
  	
  	<style>
  	/*This CSS is for the tab bar and navigation bar*/
      #headerT{
        position:relative;
        left: 0px;
        top: 55px;
        height: 35px;
        background: url(ciui/images/toolbar.png) repeat-x;
      }
      #textT{
        color: white;
        position: relative;
        text-align: center;
        padding: 0;
        top: 25px;
        font-size: 18px;
        font-family: american typewriter;
        text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
        white-space: nowrap;
        left: -190px;
      }
    </style>
  </head>
  
  <body>
    <?php
      include('./navbar.html');
    ?>
    <div id='headerT'></div>
    <div id='textT'>Share With...</div>
    <ul class="menu">
    <?php
      $users = make_query('select * from Users')->fetchAll(PDO::FETCH_ASSOC);
      foreach ($users as $user) {
        echo('<li><form method="post" action="shareconfirmation.php"><input type="hidden" name="user_button" value="'.$user[username].'"><input class="list_button" type="submit" value="'.$user[username].'"></form></li>');
      }
    ?>
    </ul>
  </body>
</html>